package com.ruoyi.fuw.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务记录对象 fuw_tasks
 * 
 * @author ruoyi
 * @date 2021-11-03
 */
public class FuwTasks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务编号 */
    private String tasksId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String tasksName;

    /** 任务规定开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "任务规定开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date tasksStartTime;

    /** 任务规定完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "任务规定完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date tasksEndTime;

    /** 任务周时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务周时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tasksWeek;

    /** 任务完成状态（0：任务创建；1：任务进行中；2：任务逾期；3：任务完成） */
    @Excel(name = "任务完成状态", readConverterExp = "0=：任务创建；1：任务进行中；2：任务逾期；3：任务完成")
    private String tasksType;

    /** 任务权重 */
    @Excel(name = "任务权重")
    private Integer tasksNum;

    /** 任务实际完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "任务实际完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date tasksOutTime;

    /** 医务人员编号 */
    @Excel(name = "医务人员编号")
    private String medicalId;

    /** 组别编号 */
    @Excel(name = "组别编号")
    private String workId;

    public void setTasksId(String tasksId) 
    {
        this.tasksId = tasksId;
    }

    public String getTasksId() 
    {
        return tasksId;
    }
    public void setTasksName(String tasksName) 
    {
        this.tasksName = tasksName;
    }

    public String getTasksName() 
    {
        return tasksName;
    }
    public void setTasksStartTime(Date tasksStartTime) 
    {
        this.tasksStartTime = tasksStartTime;
    }

    public Date getTasksStartTime() 
    {
        return tasksStartTime;
    }
    public void setTasksEndTime(Date tasksEndTime) 
    {
        this.tasksEndTime = tasksEndTime;
    }

    public Date getTasksEndTime() 
    {
        return tasksEndTime;
    }
    public void setTasksWeek(Date tasksWeek)
    {
        this.tasksWeek = tasksWeek;
    }

    public Date getTasksWeek()
    {
        return tasksWeek;
    }
    public void setTasksType(String tasksType) 
    {
        this.tasksType = tasksType;
    }

    public String getTasksType() 
    {
        return tasksType;
    }
    public void setTasksNum(Integer tasksNum) 
    {
        this.tasksNum = tasksNum;
    }

    public Integer getTasksNum() 
    {
        return tasksNum;
    }
    public void setTasksOutTime(Date tasksOutTime) 
    {
        this.tasksOutTime = tasksOutTime;
    }

    public Date getTasksOutTime() 
    {
        return tasksOutTime;
    }
    public void setMedicalId(String medicalId) 
    {
        this.medicalId = medicalId;
    }

    public String getMedicalId() 
    {
        return medicalId;
    }
    public void setWorkId(String workId) 
    {
        this.workId = workId;
    }

    public String getWorkId() 
    {
        return workId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tasksId", getTasksId())
            .append("tasksName", getTasksName())
            .append("tasksStartTime", getTasksStartTime())
            .append("tasksEndTime", getTasksEndTime())
            .append("tasksWeek", getTasksWeek())
            .append("tasksType", getTasksType())
            .append("tasksNum", getTasksNum())
            .append("tasksOutTime", getTasksOutTime())
            .append("medicalId", getMedicalId())
            .append("workId", getWorkId())
            .toString();
    }
}
